package com.ddlaw.service;

import com.ddlaw.entity.TUsers;

public interface UserService {
	/**根据用户ID获取用户信息*/
	public TUsers getUserById(int userId);
	/**添加用户*/
	public void addUser(TUsers users);
	/**根据用户名获取用户信息*/
	public TUsers getUserByName(String username);
	/**咨询律师问题*/
	public void addQuestion();
	/**登陆*/
	public TUsers login(String username,String password);
}
